/*
 * @Descripttion: 写点什么
 * @version: 
 * @Author: Zhaocy
 * @Date: 2024-07-26 14:13:03
 * @LastEditors: Zhaocy
 * @LastEditTime: 2024-08-01 18:09:07
 */
package com.zhike.api;

import org.apache.yetus.audience.InterfaceAudience.Private;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

import lombok.extern.slf4j.Slf4j;
import springfox.documentation.oas.annotations.EnableOpenApi;

@Configuration
@SpringBootApplication
@Slf4j
@ComponentScan(basePackages = { "com.zhike" })
@MapperScan(basePackages = { "com.zhike.mapper.*", "com.zhike.file.imfile.mapper" })
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableScheduling
@EnableOpenApi
public class APIApplication {

  public static void main(String[] args) throws Exception {
    SpringApplication.run(APIApplication.class, args);
    log.info("IM-API Application 启动成功");
  }

}
